<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>富源人富源事儿</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<link type="text/css" rel="stylesheet" href="carousel.css">
		<script type="text/javascript" src="js/jquery-1.12.0.min.js"></script>
		<script type="text/javascript" src="js/carousel.js"></script>
		<link rel="stylesheet" type="text/css" href="css/main.css"/>
		<script>
		  // 计算页面的实际高度，iframe自适应会用到
		  function calcPageHeight(doc) {
		      var cHeight = Math.max(doc.body.clientHeight, doc.documentElement.clientHeight)
		      var sHeight = Math.max(doc.body.scrollHeight, doc.documentElement.scrollHeight)
		      var height  = Math.max(cHeight, sHeight)
		      return height
		  }
		  //根据ID获取iframe对象
		  var ifr = document.getElementById('main')
		  ifr.onload = function() {
		  	  //解决打开高度太高的页面后再打开高度较小页面滚动条不收缩
		  	  ifr.style.height='0px';
		      var iDoc = ifr.contentDocument || ifr.document
		      var height = calcPageHeight(iDoc)
		      if(height < 850){
		      	height = 850;
		      }
		      ifr.style.height = height + 'px'
		  }
		</script>
	</head>
	<body >
		
			<!--logo-->
			<div class="nav" style="width:100%;height:100px; background-color:#CCC; background:rgba(255,255,255,0.5)">
				<div class="top">
					
					<div class="biaoti" style="">
						<div class="logo" >
						<img src="img/dnsj.jpg" style="border: 0px solid;border-radius: 15px;" width="150px" height="100px">
					</div>
					<div style="margin-left: 250px;">
						<br><font size="7" color="slateblue">富源人富源事儿</font>
					</div>
						
					</div>
					<div style="width: 75px;float: right;height: 20px;margin-top: -80px;">
						<div style="float: left;">
							<font size="2" color="gray"><a href="login.html" style="text-decoration: none;">登录</a></font>|
						</div>
						<div style="float: left;margin-right: 0px;">
							<font size="2" color="gray"><a style="text-decoration: none;" href="regedit.html" class="a3">注册</a></font>
						</div>
						
					</div>
					
					
				</div>
			
			<!--菜单-->
				<div class="menu">
					<iframe src="class.html"  scrolling="no" id="main" name="main" frameborder="0"  src="" style="margin-top: 0px;height: 100%; width:100%;border-radius: 10px;"></iframe>
				</div>
			</div>
			<div style="background:url(img/fyf/1.jpg) ; background-size:100%; 
			background-repeat:no-repeat; background-attachment:fixed; background-size:width:100%; height:610px;">
			</div>
			<!--动图-->
			<div class="container" >
			<div class="pictureSlider poster-main" data-setting='{"width":1000,"height":400,"posterWidth":640,"posterHeight":400,"scale":0.8,"autoPlay":true,"delay":2000,"speed":300}'>
				<div class="poster-btn poster-prev-btn"></div>
			    <ul class="poster-list">
			    	<li class="poster-item"><a href="#"><img src="img/1.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/7.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/9.jpg" width="100%" height="100%"></a></li>
					<li class="poster-item"><a href="#"><img src="img/8.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/3.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/2.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/4.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/5.jpg" width="100%" height="100%"></a></li>
			        <li class="poster-item"><a href="#"><img src="img/6.jpg" width="100%" height="100%"></a></li>
			        
			    </ul>
			    <div class="poster-btn poster-next-btn"></div>
			</div>
			</div>
			<script>
			$(function(){
				Carousel.init($(".pictureSlider"));
			});
			</script>
			
			<div class="main">
				<iframe src="read.html"  scrolling="no" id="main" name="main" frameborder="0"  src="" style="margin-top: ;height: 100%; width:100%;border-radius: 10px;"></iframe>
			
			<div style="align: center;width: 100%;height: 10px;border-bottom: 5px solid black;color: cornflowerblue;font-size: 20px;font-weight: bold;line-height: 40px;">
			</div>
			</div>
			<div align="center" class="banquan">
				
					<br>本网站纯属个人制作 如有不足之处请大家谅解
					<br><br>地址：云南省xxxx
					<br><br>电话：178xxxxxx
			</div>
	</body>
</html>
